#cs ----------------------------------------------------------------------------
	
	$Author: bjoern.kaiser $
	$LastChangedDate: 2008-04-29 10:27:42 +0000 (Tue, 29 Apr 2008) $
	
	Script Function:
	bootsect.exe wrapper
	
#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here

#include-once

Func _bootsect($strNtversion = "NT52", $strDrive = "SYS")
	Local $intRc
	Local $strCmd = $gStrSourceDrv & "\bin\bootsect.exe /" & $strNtversion & ' ' & $strDrive
	If Not $gBinTest Then $intRc = RunWait($strCmd)
		_log("I", $strCmd)
	Return $intRc
EndFunc   ;==>_bootsect